package com.jctrip.hotel.route.model.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@ApiModel(value = "获取酒店房型接口-返回值")
@Data
@Builder
public class GetHotelRoomTypeResult {

    @ApiModelProperty(value = "酒店唯一编号")
    private String hotelId;

    @ApiModelProperty(value = "房型列表")
    private List<RoomType> roomTypeList;

    @ApiModel(value = "房型对象")
    @Data
    @Builder
    public static class RoomType {
        @ApiModelProperty(value = "房型编号")
        private String roomTypeCode;

        @ApiModelProperty(value = "房型名称")
        private String roomTypeName;

        @ApiModelProperty(value = "房间面积")
        private String roomArea;

        @ApiModelProperty(value = "最多入住人数")
        private Integer maxCheckIn;

        @ApiModelProperty(value = "楼层")
        private String floor;

        @ApiModelProperty(value = "床型(0=大床；1=单人床；2=双床；3=特大床；4=双人床；5=其他床型)")
        private Integer bedType;

        @ApiModelProperty(value = "床宽(字符串，例如2.1米)")
        private String bedWidth;

        @ApiModelProperty(value = "是否支持加床（0=否；1=是)")
        private Integer addBed;

        @ApiModelProperty(value = "窗户类型0=无窗；1=有窗；2=部分有窗；3=内窗；4=部分内窗")
        private Integer windowType;

        @ApiModelProperty(value = "拓展信息(JSON格式)")
        private String extra;
    }
}
